import FormProjectCustomerPreview from './FormProjectCustomerPreview.vue';
import FormProjectCustomerSetting from './FormProjectCustomerSetting.vue';
import FormProjectCustomerBuild from './FormProjectCustomerBuild.vue';

import i18n from '@src/locales';

let FormProductWarrantyServiceField = {
  formType: 'projectCustomer',
  fieldName: 'customer',
  name: i18n.t('common.base.customer'),
  isSystem: 1,
  isSystemControl: true,
  forceDelete: true,
  previewIcon: 'icon-fdn-user',
  component: {
    build: FormProjectCustomerBuild,
    preview: FormProjectCustomerPreview,
    extend: {
      'projectType_projectCustomer_setting': FormProjectCustomerSetting
    }
  },
};

export default [FormProductWarrantyServiceField];
